<?php
/**
 * 구조체 
 * 
 * @package php.ui.winbinder.struct
 */

/**
 * WBOBJ , winbinder struct 
 *
 * @package php.ui.winbinder.struct
 */
class WBOBJ extends WBStruct { 

	public function __construct($unpack = null) { 
		$data = array(
			array('name' => 'hwnd',		'type' => WBType::HANDLE),	
			array('name' => 'id',		'type' => WBType::ULONG),	
			array('name' => 'uclass',	'type' => WBType::ULONG),	
			array('name' => 'item',		'type' => WBType::LONG),	
			array('name' => 'subitem',	'type' => WBType::LONG),	
			array('name' => 'style',	'type' => WBType::ULONG),	
			array('name' => 'parent',	'type' => WBType::ULONG),	
			array('name' => 'handler',	'type' => WBType::LPTSTR),	
			array('name' => 'param',	'type' => WBType::LPARAM),	
			array('name' => 'params',	'type' => WBType::LONG, 'count' => 8),	
			array('name' => 'buffer',	'type' => WBType::HANDLE),	
		);
		
		parent::__construct($data, $unpack);
	}
}

?>